package com.heima.api.wemedia;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmUser;

/**
 * @author feng js
 */

public interface WmUserControllerApi {

    ResponseResult save(WmUser wmUser);

    WmUser findByName(String name);

    /**
     * 根据id查询自媒体用户
     * @param id
     * @return
     */
    WmUser findWmUserById(Integer id);
}
